home *** CD-ROM | disk | FTP | other *** search
/ C# & Game Programming - A…er's Guide (2nd Edition) / Buono 2nd Ed.iso / GameClasses / Player.cs < prev    next >
Text File  |  2004-09-07  |  509b  |  19 lines

  1. /* Player.cs: Sub-class of AnimatedImage. Responsible for managing all
  2.  * things player-related. Luckily most of the functions are ok in their
  3.  * base form, so only member data additions such as score and death 
  4.  * counts are needed.
  5.  */
  6. using System;
  7.  
  8. namespace GameClasses {
  9.     public class Player    : AnimatedImage {
  10.  
  11.         public int score;
  12.         public int deaths;
  13.  
  14.         public Player() : base() {}
  15.         public Player(int posX, int posY) : base(posX, posY) {
  16.         }
  17.     }
  18. }
  19.